Microsoft decided to invest in OpenAI after a warning from a company official that Google had taken a big lead in the technology, Ars Technica reports.